package com.xxin.service.impl;

import com.xxin.mapper.sys.SysRolesMapper;
import com.xxin.pojo.entity.SysRoles;
import com.xxin.service.SysRoleService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 小欣
 * @version 1.0
 * @since 1.8
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {
	
	@Resource
	private SysRolesMapper sysRolesMapper;
	
	@Override
	public List<SysRoles> getRoleList() {
		return sysRolesMapper.selectAll();
	}
}
